{__NOLAYOUT__}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<?php
	foreach($nodearr as $nodeval){
?>
<h3 class="f14">
<span class="switchs cu on" title="展开与收缩"></span>{$nodeval['title']}</h3>
<ul>
	<?php
		foreach($nodeval['child'] as $childval){
			$childval['url']=get_node_nav_link($childval).'&menuid='.$childval['id'];
	?>
	<li id="_MP{$childval[id]}" class="sub_menu">
		<a href="javascript:_MP({$childval[id]},'{$childval[url]}');" hidefocus="true" style="outline:none;">{$childval['title']}</a>
	</li>
	<?php } } ?>
</ul>
<!-- <h3 class="f14"><span class="switchs cu on" title="展开与收缩"></span>推广计划管理</h3>                    
<ul>
	<li id="_MP4" class="sub_menu">
		<a href="javascript:_MP(4,'/admin.php/popu/populist/status/all');" hidefocus="true" style="outline:none;">全部推广计划</a></li>
    <li id="_MP5" class="sub_menu">
		<a href="javascript:_MP(5,'/admin.php/popu/populist/status/w');" hidefocus="true" style="outline:none;">未审核推广计划</a></li>
    <li id="_MP6" class="sub_menu">
		<a href="javascript:_MP(6,'/admin.php/popu/populist/status/1');" hidefocus="true" style="outline:none;">竞价中推广计划</a></li>
    <li id="_MP7" class="sub_menu">
		<a href="javascript:_MP(7,'/admin.php/popu/populist/status/2');" hidefocus="true" style="outline:none;">关闭推广计划</a></li>
    <li id="_MP8" class="sub_menu">
		<a href="javascript:_MP(8,'/admin.php/popu/populist/status/-1');" hidefocus="true" style="outline:none;">冻结推广计划</a></li>
    <li id="_MP9" class="sub_menu">
		<a href="javascript:_MP(9,'/admin.php/popu/populist/status/-2');" hidefocus="true" style="outline:none;">丢弃推广计划</a></li>
</ul>


<h3 class="f14"><span class="switchs cu on" title="展开与收缩"></span>品牌管理</h3>                    
<ul>
	<li id="_MP25" class="sub_menu">
		<a href="javascript:_MP(25,'/admin.php/Brand/addbrand');" hidefocus="true" style="outline:none;">添加品牌</a></li>
    <li id="_MP26" class="sub_menu">
		<a href="javascript:_MP(26,'/admin.php/Brand/brandlist');" hidefocus="true" style="outline:none;">品牌列表</a></li>
</ul>
 -->

<script type="text/javascript">
$(".switchs").each(function(i){
	var ul = $(this).parent().next();
	$(this).click(
	function(){
		if(ul.is(':visible')){
			ul.hide();
			$(this).removeClass('on');
				}else{
			ul.show();
			$(this).addClass('on');
		}
	})
});
</script>


<?php 
exit();
?>
</body>
